KISSY.use("node",function(S,Node){
	$(".js-beizhu").on("click",function(){
		var html = "<input type='hidden' class='beizhu-sid' value='"+$(this).attr("data-sid")+"' />";
			html+= "<textarea class='beizhu-text span20'>"+$(this).attr("data-ext")+"</textarea><hr />";
			html+= '<button class="button button-primary js-save offset9">保存</button>';
		showDialog("增加备注",html,"doc-content");
		$(".cancel").remove();
		$(".js-save").on("click",function(){
			var beizhu = $(".beizhu-text").val();
			var sid = $(".beizhu-sid").val();
			KISSY.io({
				url: "/?a=save_isv_extend&m=shopmanage&c=page",
				data:{"beizhu":beizhu,"sid":sid},
				success: function(data, textStatus) {
					$(".ext"+sid).text(beizhu);
					closeDialog();
				},
				complete: function(data){
					
				},
				error: function(){
					alert('保存失败');
				},
				dataType:"jsonp"
			});
		});
	});
});